package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 流程分类统计业务对象 lc_business_statistics
 *
 * @author ruoyi
 * @date 2023-06-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class LcBusinessStatisticsBo extends BaseEntity {

    /**
     * Id
     */
    @NotNull(message = "Id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 业务id
     */
    @NotNull(message = "业务id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long businessId;

    /**
     * 业务名称
     */
    @NotBlank(message = "业务名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String businessName;

    /**
     * 流程数量
     */
    @NotNull(message = "流程数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long businessNumber;

    /**
     * 流程类型
     */
    @NotBlank(message = "流程类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String businessType;

    /**
     * 平均节点数量
     */
    @NotNull(message = "平均节点数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal businessAvgNode;

    /**
     * 平均涉及部门数量
     */
    @NotNull(message = "平均涉及部门数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal businessAvgDeptNode;

    /**
     * 平均涉及岗位数量
     */
    @NotNull(message = "平均涉及岗位数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal businessAvgJobNode;

    /**
     * 预估平均耗时评级(0:低 1:中 2:高)
     */
    @NotNull(message = "预估平均耗时评级(0:低 1:中 2:高)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer consumingLevel;

    /**
     * 涉及风险点总数
     */
    @NotNull(message = "涉及风险点总数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer riskNumber;

    /**
     * 平均风险点数量
     */
    @NotNull(message = "平均风险点数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal riskAvgNumber;

    /**
     * 流程名称
     */
    @NotNull(message = "流程名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long processId;

    /**
     * 状态（0正常 1停用）
     */
    @NotBlank(message = "状态（0正常 1停用）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
